find the factorial of the given number